package com.dxt.springmvcdemo.exception;

import lombok.Getter;

@Getter
public enum MyBusinessExceptionEnum {
    USER_NOT_EXIST(10001,"用户不存在");

    private Integer code;
    private String message;

    MyBusinessExceptionEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
